package com.xike.micromemberserver.entity;

import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * (Bookshelf)实体类
 *
 * @author makejava
 * @since 2021-04-29 09:34:33
 */
@Data
public class Bookshelf implements Serializable {
    private static final long serialVersionUID = 132922952898603764L;
    
    private Integer id;
    @NotNull(message = "用户名不能为空")
    private String memberName;
    @NotNull(message = "书id不能为空")
    private Integer bookId;
    private BooksEntity booksEntity;
    
    private Integer status;

}